package com.frame.work.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author wjming
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "`tbl_user_login_message`")
public class UserLoginMessage extends BaseClassEntity implements Serializable {

    @TableField(value = "`user_id`")
    private String userId;

    @TableField(value = "`account`")
    private String account;

    @TableField(value = "`org_code`")
    private String orgCode;

    @TableField(value = "`source_id`")
    private String sourceId;

    @TableField(value = "`source_type`")
    private Integer sourceType;

    @TableField(value = "`login_time`")
    private LocalDateTime loginTime;

    private static final long serialVersionUID = 1L;
}